home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 12 / 2 / DISK1222.ZIP / PAMPH31.DOC < prev    next >
Text File  |  1988-04-17  |  35KB  |  790 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. *t5s1h10w0mt4h18w3           PAMPHLET Version 3.1*r
  14.  
  15.                  A printing utility for the HP LaserJet Series II
  16.                                      Copyright (C) 1988
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                         *w3 Martin Beattie*r
  45.                                 9190 Rolling Tree Lane
  46.                                    Fair Oaks, CA 95628
  47.                                CompuServe [76555,454]
  48.                                   GEnie [M.BEATTIE]
  49. *f
  50. *t5h10s1w0m
  51. PAMPHLET (C) Version 3.0 is a printing utility which will print
  52. your text documents in pamphlet form.  In the lineprinter mode
  53. it will help keep hardcopy print outs, listings, etc. neatly and
  54. in a more manageable size.  Using soft and/or cartridge fonts it
  55. can create neat, informational and educational pamphlets.
  56.  
  57. *t4h12w3 Requirements:*r
  58.  
  59.      IBM PC/XT/AT or clone. 192K memory. (Versions 1.4, 2.03
  60.      require only 64K)
  61.      HP LaserJet with Y cartridge
  62.                or
  63.      HP LaserJet +
  64.                or
  65.      HP LaserJet Series II
  66.                or
  67.      other laser printer which can emulate the LaserJet
  68.      Series II.
  69.  
  70. *t4h12w3 What does it do?*r
  71.  
  72. It will print an ASCII text file to the HP LaserJet II in the
  73. landscape mode.  It prints 2 pages side by side and by making
  74. two passes through the printer, prints 4 pages per sheet of
  75. paper.  Page arrangement is automatically determined by the
  76. program so that the resultant sheets may be stapled together
  77. down the middle and folded in half creating a booklet.
  78.  
  79. Versions prior to 2.0 used the compressed or lineprinter (16.66
  80. cpi) font and line spacing of 9 lines per inch to print what
  81. normally appeared on an entire 8 1/2 X 11 sheet of paper in 1/2
  82. the space.
  83.  
  84. Version 2.0 added the versatility of cartridge and soft
  85. fonts. Line density may also be selected. Version 3.0 added an
  86. online TEXT editor to create or modify your file prior to
  87. printing.
  88.  
  89. A soft font loading utility is included.  Soft fonts loaded by
  90. Pamphlet (C) may be used by other programs as well.
  91.  
  92. *t4h12w3 Getting Started*r
  93. *t4h10w3 Non Hard Disk system users:*r
  94.  
  95. First back up your disk.  The program is not copy protected and
  96. you need only to copy it to another floppy disk.  Use DOS COPY
  97. or DISKCOPY as follows:
  98.  
  99. To use COPY you will first need to have a FORMATTED BLANK
  100. disk.  Place the distribution diskette in drive A: and the blank
  101. disk in drive B:  Then type COPY **.** A: B:  The pamphlet
  102. program will be copied.  You may also use DISKCOPY by placing
  103. the distribution disk in drive A: and the blank disk in drive B:
  104. Type DISKCOPY A: B:  In either case, the disk and programs will
  105. be backed up.
  106.  
  107. *t4h10w3 Hard Disk Users: *r
  108.  
  109. If you have a hard disk your working copy of the program will
  110. reside on the hard disk.  Your original copy will remain unused
  111. so back up is not so important.  Change the directory to that in
  112. which you wish PAMPHLET (C) to reside then place the distibution
  113. diskette in drive A:  Type COPY A:**.** C:\<directory>
  114. *t4h10w3
  115. Creating a text file.*r  Pamphlet (C) was initially written as a
  116. text output processing device for program listings and text
  117. files. It was a program which was originally intended for use by
  118. persons familiar with the IBM computer, the use of DOS and TEXT
  119. files. It has gained some popularity for the production of
  120. instruction manuals, simple newsletters, etc. Version 3.0 has now
  121. added the convenience of a built in TEXT editor to create or
  122. modify your text files prior to printing. From the first screen
  123. you enter the editor using the F4 key. The file name in the "File
  124. to Print" field will be displayed for editing. You may use path
  125. descripitions as well as wild card (* and ?) characters for a
  126. directory of available files.
  127. *t4h10w3
  128. Using your favorite word processor.*r  Many word processors have
  129. their own internal format in which they store the files which you
  130. have created. This is to allow the program to easily format
  131. paragraphs, justify alignment and so forth. These formats contain
  132. extra or encoded characters which will not print correctly if you
  133. try to print them (as is) with Pamphlet (C). Most word processors
  134. will allow you to create a straight ASCII text file from your
  135. document. You will have to refer to your word processor
  136. documentation to determine how to do it. For example, Word
  137. Perfect has a text in / text out mode, and WordStar can Print to
  138. a document FILE (3.3) or to device "ASCII" (4.0). All editors
  139. that are used by programmers create TEXT files. *w3 Pamphlet (C)
  140. does not modify line formatting. It will wrap lines but not
  141. reformat them. You must create proper line length with your word
  142. processor.*r
  143.  
  144. *t4h12w3 Running PAMPHLET (C)*r
  145.  
  146. *w3m If you have a LaserJet which does not have internal
  147. landscape compressed print, you must have a cartridge which
  148. contains the landscape lineprinter (16.66) font or have it
  149. available as a soft font for this program to work.*w0m
  150.  
  151. Pamphlet (C) has 3 input screens with which you may interact.
  152. The first which appears when you run the program, requests
  153. information about the file to be printed and about your printer
  154. type.  The second, after using the F3 key from the first screen,
  155. deals with default font characteristics.  The last, F3 from the
  156. second screen, allows you to select and load soft fonts.  It is
  157. not necessary to use all screens with each run of the program.
  158. Usually the first run of the day requires entry to the third
  159. screen to load soft fonts.  Likewise, once your default font
  160. preferences are entered and saved to disk, the second screen
  161. need only be used occasionally.
  162.  
  163. Here we go -- we are assuming you have a text file ready to
  164. print.
  165.  
  166. From DOS type:
  167.  
  168. PAMPHLET<ENTER>
  169.  
  170. You will then see --
  171. *t0s0p17ml70 ╒═══════════════════════════════════════════════════════════════════╕
  172. │                                                                   │
  173. │                       PAMPHLET (C) VERSION 3.0                    │
  174. │                                                                   │
  175. │         FILE TO PRINT:                                            │
  176. │                                                                   │
  177. │       FILE NAME STAMP: N                                          │
  178. │                                                                   │
  179. │            DATE STAMP: N                                          │
  180. │                                                                   │
  181. │          NUMBER PAGES: Y                                          │
  182. │                                                                   │
  183. │     HOLE PUNCH MARGIN: Y                                          │
  184. │                                                                   │
  185. │                 TITLE:                                            │
  186. │                                                                   │
  187. │       SERIES II (Y/N): Y                                          │
  188. │                                                                   │
  189. │     CENTER LINE (Y/N): Y       'Page Left Blank' NOTE: Y          │
  190. │                                                                   │
  191. │    Use arrow keys, F1 for help, F2 to print when ready            │
  192. │   F3 font options, F4 TEXT editor, ESC to QUIT without printing.  │
  193. ╘═══════════════════════════════════════════════════════════════════╛
  194. *t5s1h10m
  195. Complete the options as needed.  You will need to enter a file
  196. name to be printed. You may use path names. You may also use wild
  197. cards for a directory of available files. File name and Date
  198. stamp are default OFF but may be added if requested. Page
  199. Numbering is default ON but may be eliminated if your text file
  200. has numbering included. The hole punch margin is default ON and
  201. limits line length to 70 characters. If the pamphlet is to be
  202. stapled together and a longer line length is desired, changing
  203. this option to "N" will allow a few more characters per line.
  204. Entering a TITLE will trigger the creation of a simple title page
  205. with the requested text in a box. The title page is time and date
  206. stamped and is printed after the completion of printing the
  207. pamphlet. The default title page is quite simple and is a vestige
  208. of Version 1.1. If you have other landscape fonts available, a
  209. nicer title page can be created as a separate document with the
  210. page numbering off. The SERIES II option is for those printers
  211. which eject paper face down. That is, printing is correctly
  212. collated and does not normally have to be rearranged. This
  213. creates an output order on the first pass which can be taken
  214. directly from the output tray and be inserted without turning or
  215. sorting into the paper tray for correct page printing. Change
  216. this option to "N" if your printer ejects page up -- that is
  217. pages normally would have to be reversed after printing. This
  218. will modify the printing sequence and result in a second pass
  219. output order which is also sorted.
  220.  
  221. You may also use F1 for HELP and Escape to abort without
  222. printing.  F4 enters the EDITOR section.  For more information
  223. about using the editor see Appendix A.
  224.  
  225. After entering File, title and default information use F3 to
  226. procede to the default font screen.
  227. *t0s0p17m
  228. ╒══════════════════════DEFAULT FONT OPTIONS═════════════════════════╕
  229. │                                                                   │
  230. │                         ╒═════════[ Valid Selections ]═══════╕    │
  231. │   TYPEFACE: 5           │   0 = Line Printer                 │    │
  232. │   SPACING: 1            │   3 = Courier                      │    │
  233. │   PITCH: 17             │   4 = Helvetica                    │    │
  234. │   HEIGHT: 10            │   5 = Times Roman                  │    │
  235. │   ITALICS: 0            │   6 = Letter Gothic                │    │
  236. │   WEIGHT: 0             │   8 = Prestige                     │    │
  237. │   LINES PER INCH: 7.2   │  11 = Presentations                │    │
  238. │   (Lines / Pg: 53)      │  17 = Optima                       │    │
  239. │   MAX CHAR / LINE: 70   │  18 = ITC Garamond                 │    │
  240. │   Wrap? Y               │  19 = Cooper Black                 │    │
  241. │   ESCAPE CHARACTER: \   │  20 = Coronet Bold                 │    │
  242. │   Soft Font Location:   │  21 = Broadway                     │    │
  243. │   C:\FONTS\**.??L        │  22 = Bauer Bodoni Blk Cond.       │    │
  244. │   Starting Page Num: 1  │  23 = Century Schoolbook           │    │
  245. │                         │  24 = University Roman             │    │
  246. │                         ╘════════════════════════════════════╛    │
  247. │                                                                   │
  248. │      Use arrow keys to edit, F1 function keys, ESC  Continue      │
  249. │      F3 load soft fonts, F4 to save default options.              │
  250. ╘═══════════════════════════════════════════════════════════════════╛
  251. *t5s1h10m
  252. If you have never run PAMPHLET (C) before, the default font
  253. should be:
  254.  
  255.    typeface = 0 (lineprinter)
  256.    spacing  = 0 (fixed)
  257.    pitch    = 17 (characters / inch)
  258.    height   = doesn't matter
  259.    italics  = 0
  260.    weight   = 0
  261.    line length = 70
  262.    line wrap = "Y"
  263.    lines per inch = 9.2
  264.    escape character "\"
  265.    font drive:\directory\mask = C:\FONTS\**.??L
  266.  
  267. Each of these charactistics may be modified.  As you step
  268. through each field (using <ENTER> or arrow keys), you will see
  269. valid responses for each field appearing in the help box.  You
  270. may modify these entries by using your delete and arrow keys.
  271. Make sure that fields requiring a number entry have a valid
  272. number before returning to the first screen.  The
  273. characteristics noted above are those of the original pamphlet
  274. format and are very good for program listings or documentation
  275. file printouts.  If your text file contains the character "\"
  276. then change the escape character to one which will not appear in
  277. your file (ie "@" or "#" or "|").  The charactistics shown on
  278. screen 2 are those with which the printer will begin printing
  279. your document.
  280.  
  281. If you have changed these characteristics and wish to make them
  282. default standards, use F4 to create a PAMPHLET.CFG
  283. (configuration) file which will contain the current values.
  284. This file will be automatically loaded when PAMPHLET (C) is run.
  285.  
  286. You could now use F2 to return to the main screen to begin
  287. printing.
  288.  
  289. *t4h12w3 Loading Fonts (C)*r
  290.  
  291. If you wish to use soft fonts, you should explore screen three
  292. first. Make sure the soft font drive:\directory is correct in
  293. screen 2. Use F3 to bring up screen three. You will first be
  294. asked if you want to delete previously loaded fonts. A 'Y'es
  295. answer will send commands to the printer to clear its memory.
  296. This deletion does *u1 not*u0  refer to your disk files! The
  297. third screen will then appear. It will look like:
  298. *f
  299. *t0s0p17m
  300. ╒═════════════════════[ Available Files ]═══════════════════════╕
  301. │HV08R#R8.SFL   HV12I#R8.SFL   TR10B#R8.SFL   TR12R#R8.SFL      │
  302. │HV10B#R8.SFL   HV12R#R8.SFL   TR10I#R8.SFL   TR18B#R8.SFL      │
  303. │HV10I#R8.SFL   HV18B#R8.SFL   TR10R#R8.SFL   TR24B#R8.SFL      │
  304. │HV10R#R8.SFL   HV24B#R8.SFL   TR12B#R8.SFL                     │
  305. │HV12B#R8.SFL   TR08R#R8.SFL   TR12I#R8.SFL                     │
  306. ╘═══════════════════════════════════════════════════════════════╛
  307. *t5s1h10m
  308. Any landscape font you have in your font directory will be listed
  309. in the box. Move the block cursor to any font you wish to load to
  310. your printer. Touch the space bar to select (or deselect). When
  311. you are finished with your selections, use ENTER to begin font
  312. loading.  Font loading will begin and procede until all selected
  313. fonts are loaded. When loading is completed you will be returned
  314. to screen 2. You may ESCape from screen 3 without loading if
  315. desired.
  316.  
  317. From screen 2 you can modify your entries, return to screen 3
  318. if you forgot something, or use ESC to return to screen 1.
  319.  
  320. From screen 1 you may re edit your entries or your file, use F2
  321. to initiate printing or use ESC to forget the whole thing and
  322. return to DOS.
  323.  
  324. Before going further, a few trial runs are suggested.  Use a
  325. simple text file of 3 or 4 pages in length.  Choose an escape
  326. character (remember default was '\' but you may have changed
  327. it) which does not occur in your text file and print the file
  328. changing a few charactistics.  Try lineprinter mode, 70
  329. characters per line and 9.2 lines per inch for starters.  Leave
  330. the TITLE field blank for these experiments, that will prevent
  331. production of a title page each time.  Change the lines per
  332. inch and try changing the pitch to 10.
  333.  
  334. *w3 What you will see when the program is printing.*r   The
  335. program makes two passes through the file.  One to parse the
  336. file and determine where to print the pages and the second, the
  337. actual printing.  During the printing, the paper makes two
  338. passes through the printer--one for each side.  Initially, you
  339. will see a page count taking place on the screen.  At the end
  340. of the first pass, you will be notified that printing is
  341. starting and how many sheets (total) will be required for the
  342. document.  Wait until the printer stops.  Follow the
  343. instructions on the screen.  Depending on printer type, you
  344. will be instructed on how to replace the paper in the paper
  345. tray.  When you have replaced the paper, touch the enter key
  346. and wait for printing to be completed.  When finished, you
  347. should have a series of sheets, in order, which can be folded
  348. down the middle, stapled, or hole punched and be read as a
  349. pamphlet.
  350.  
  351. *t4h12w3 Font Modification*r
  352.  
  353. Pamphlet (C) allows you to print an any *u1 LANDSCAPE*u0  font you
  354. have available. Through escape commands you are also able to
  355. modify your font while printing is taking place. The Hewlett
  356. Packard LaserJet allows for font selection in a number of
  357. ways. The most versatile, but unfortunately the most
  358. complicated, is the selection of fonts by characteristics.
  359. Pamphlet uses this method because of its versatility. Font
  360. selection by characteristics will allow use of any font in the
  361. printer regardless of location (internal, cartridge, or soft)
  362. without any other information. Pamphlet (C) uses a
  363. modification of HP's escape commands to control your printer.
  364.  
  365. *t4h12w3 Start with screen 2:*r
  366.  
  367. First select an escape character which will only rarely appear
  368. in your text.  The '\' will usually work unless you are a C
  369. programmer.  Each time it appears it will signal the program
  370. that the next few characters are information and are not to be
  371. printed.
  372.  
  373. *t4h12w3 Two main principles:*r
  374.  
  375. *w3 Fixed spaced fonts are defined with a typeface, spacing =
  376. 0, and a pitch.*r  The pitch is inversely proportional to the
  377. size and equals characters per inch. (ie bigger number  =
  378. smaller character).
  379.  
  380. *w3 Proportional fonts are defined with a typeface, spacing =
  381. 1, and a height (point size).*r  Point size is directly related
  382. to character size (ie bigger number = bigger character).
  383.  
  384. Each time you change from a proportional to a fixed spaced font
  385. or vice versa you MUST pay attention to the above 4
  386. characteristics.   Note that height does not affect fixed
  387. spaced fonts and pitch does not affect proportional fonts.
  388.  
  389. If you have other fonts available (soft or cartridge), now try
  390. printing your document using one of your fonts.  You should be
  391. in screen 2.  Select a typeface that you have available.  Use
  392. the number corresponding to the help box information.  If it is
  393. a proportional font (see your font literature), the set spacing
  394. = 1.  Use a point size of around 10.  Set the line lenght to
  395. 60.  Use ESC to return to screen 1 and F2 to start printing.
  396. See what you get.  Line length will most likely need to be
  397. limited in your document to around 60 in order not to lose
  398. characters or to wrap.  Use a preliminary run to see how to
  399. configure your document.
  400.  
  401. *t4h12w3 Escape sequenced font modification*r
  402.  
  403. The last step.  By using escape sequenced font modification, you will
  404. be able to create very eye catching, professionally printed appearing
  405. pamphlets.
  406.  
  407. The escape sequence is triggered by the escape character you select in
  408. screen two.  *w3 All subsequent command characters must be together
  409. (no spaces) and must END with a space.*r  The following commands may
  410. be used:
  411.  
  412.      t,T - typeface
  413.      s,S - spacing (0 = fixed, 1 = proportional)
  414.      h,H - height (point size)
  415.      p,P - pitch
  416.      w,W - weight (0 = normal, 3 = bold)
  417.      i,I - Italics (0 = off, 1 = on)
  418.      r,R - Restore default values, turn off underline
  419.      m,M - Make current string default (use at end of command)
  420.      u,U - underline (1 = Start / 0 = end)
  421.      f,F - Form Feed (force a new page)
  422.      l,L - Line length for wrapping or stripping.
  423.  
  424. All commands must be followed by valid numbers except r, m, and f.
  425.  
  426. As you may note, several of these are similar to that which you have
  427. seen on screen two.  You only need the letter and the number
  428. corresponding to a valid selection for each charactistic.  The
  429. typeface selection arguments (numbers) are the same as you have seen
  430. in screen two.
  431.  
  432. *t4h12w3 Examples of on line font manipulation.*r
  433.  
  434. First, any requested font or characteristic must be available in the
  435. printer at the time of printing.  Cartridges must be in and soft fonts
  436. loaded.  Soft fonts may be loaded by the routine in Screen 3 noted
  437. above or any other program you may have to load soft fonts.  Font
  438. selection must include all necessary characteristics or you will get
  439. unexpected results.  Read your font information so that you may better
  440. understand their characteristics.
  441.  
  442. Proportional fonts must be defined by a typeface, spacing = 1 and a
  443. height (point size).  Fixed spaced fonts must be defined by a
  444. typeface, spacing = 0, and pitch.  Italics and bold characterics must
  445. be available to be used.
  446.  
  447. Once a typeface has been defined, it may be modified using only the
  448. desired change.  i.e. if \t5s1h10m created a default of times roman 10
  449. point, \h12 will change the point size to 12.  Likewise \w3 will
  450. change the weight to bold.
  451.  
  452. Note that fonts that have been changed in the temporary mode (ie they
  453. do not end in 'm') are only valid until the next escape sequence or
  454. next page at which time they will revert to the default font.
  455.  
  456. \f will force a new page.  This is most useful after you have run a
  457. draft copy to see where additional page breaks need to be.
  458.  
  459. Examples
  460.  
  461. *w3 \t4s1h10*r   will initiate 10 point helvetica - temporary.
  462. *w3 \t5s1h10*r   will initiate 10 point times roman - temporary.
  463. *w3 \t5s1h10m*r   will initiate 10 point times roman and make it
  464. default.
  465. *w3 \r*r   will restore the default font from a temporary.
  466. *w3 \u1 *u1  this is a line*u0 \u0*r  will underline the enclosed
  467. text.
  468. *w3 \f*r   will force a new page.
  469.  
  470. *w3  Note the escape command sequence must end with a space!*r
  471.  
  472. Lastly, if you really need to print your escape character, you may do
  473. so by using it twice in your text file.  ie "\\" will print "\".
  474. *f
  475. *t4h12w3 A summary of Screens and Commands*r
  476.  
  477. *t4h10w3 The Main Screen*r
  478.  
  479. Enter the name of the file to be printed.  It must be an ASCII
  480. text file.  You may opt to have the file name  and current date
  481. stamped at the top of each page.  If your file has its own
  482. pagination and page numbering, you may also opt to omit
  483. automatic page numbering.  A hole punch margin of 2/3 inch is
  484. normally available along each side of the center.  This may be
  485. eliminated and allows for a slightly longer line length.  A
  486. title string may be typed in.  The presence of a string in this
  487. field will create a dated and timed title page.  The Series II
  488. option is for those printers which eject their paper face down.
  489. That is they are in correct order.  If this is selected as no,
  490. the computer will modify printing on the second pass so that
  491. proper page alignment should be automatic.  Function Keys on the
  492. main screen:
  493.  
  494.      F1: Help -- demonstrates input fields
  495.      F2: Continue -- begins printing process
  496.      F3: Go to Second (Font Selection) Screen
  497.      F4: Enters the editor
  498.     ESC: Exit without printing -- abort program.
  499.  
  500. *t4h12w3 Font Selection Screen (F3 from the first screen)*r
  501.  
  502. You may select typeface, spacing (fixed, proportional), Pitch
  503. (for fixed spaced fonts), Height (Point size of proportional
  504. fonts), Italics (yes or no), Weight (regular or bold), Lines per
  505. inch (for the entire document), Max characters per line before
  506. wrap, Wrap on/off (if off, line is truncated), Escape character
  507. (to be used for beginning escape sequences and font modification
  508. in the document), and drive:\directory location of Soft fonts.
  509. There is an information box which will demonstrate valid
  510. selections for the selected field.  Proportional fonts MUST be
  511. defined by typeface, space =1, and Height, or they will not
  512. print.  Fixed space fonts must be identified by typeface and
  513. pitch.  Function Keys:
  514.  
  515.      F1: Function Key summary
  516.      F3: Next Screen -- Soft Font Loading
  517.      F4: Save current font characteristics to disk.
  518.      F5: Automatic Line Printer Mode Setup
  519.      F6: Automatic Times Roman 10 Point Setup
  520.      F7: Automatic Helvetica 10 Point Setup
  521.     ESC: Continue -- return to main screen
  522. *f
  523. *t4h12w3 Soft Font Selection (F3 from the Second Screen)*r
  524.  
  525. Your PRINTER MUST BE ONLINE for this section to work. First,
  526. keep or delete previously downloaded fonts. If you have typed
  527. in (or saved) the correct drive:\directory of your soft fonts,
  528. all landscape fonts should now be displayed for your
  529. selection. You may then select, using arrow keys and the
  530. spacebar, any of the fonts you need for your pamphlet.
  531. Selected filenames will be highlighted. Continue selecting
  532. until all necessary fonts are highlighted. Then hit ENTER and
  533. font loading will begin. If you select a font by mistake, just
  534. hit the space bar again and it will deselect.
  535.  
  536. After soft fonts are loaded, you will be returned to Screen 2.
  537. Make sure your startup selections are correct and hit ESC to
  538. return to the main screen. Likewise, make sure your selections
  539. are correct then use F2 to start printing. If you wish to
  540. abort the program before printing begins you may use ESC.
  541. After printing starts, you may abort by using the escape
  542. (<ESC>) key.
  543.  
  544. *t4h12w3 On Line Font Manipulation.*r
  545.  
  546. Any requested font or characteristic must be available in the
  547. printer at the time of printing.  Cartridges must be in and soft
  548. fonts loaded.  Soft fonts may be loaded by the routine in Screen
  549. 3 noted above.  Font selection must include all necessary
  550. characteristics or you will get unexpected results.  Read your
  551. published font information so that you may better understand
  552. their characteristics.
  553.  
  554. *w3 Proportional fonts must be defined by a typeface, spacing =
  555. 1 and a height (point size).  Fixed spaced fonts must be defined
  556. by a typeface, space = 0, and pitch.*r   Italics and bold
  557. characterics must be available to be used.
  558.  
  559. The escape sequence is triggered by the character you select in
  560. screen 2.  All subsequent commands must be together (no spaces)
  561. and must END with a space.  The following commands may be used:
  562.  
  563.      t,T - typeface
  564.      s,S - spacing (0 = fixed, 1 = proportional)
  565.      h,H - height (point size)
  566.      p,P - pitch
  567.      w,W - weight (0 = normal, 3 = bold)
  568.      i,I - Italics (0 = off, 1 = on)
  569.      r,R - Restore default values, turn off underline
  570.      m,M - Make current string default (use at end of command)
  571.      u,U - Underline (Start =1 / end = 0)
  572.      f,F - Form Feed (force a new page)
  573.      l,L - Line length for wrapping or stripping.
  574.  
  575. All commands must be followed by valid numbers except r, m, and
  576. f.  Once a typeface has been defined, it may be modified using
  577. only the desired change.  i.e. if \t5s1h10m created a default of
  578. times roman 10 point, \h12 will change the point size to 12.
  579. Likewise \w3 will change the weight to bold.  \f will force a
  580. new page.
  581.  
  582. *t4h10s1m This file (PAMPHLET.DOC) is a TEXT file and you can
  583. experiment printing it by typing PAMPHLET.DOC in the FILE TO
  584. PRINT option.  I used Times - Roman and Helvetica soft fonts.
  585. And "**" as the escape character.
  586.  
  587. Of course you can also simply have it printed using DOS by:
  588.  
  589. A>TYPE PAMPHLET.DOC>PRN
  590. to print full size sheets.
  591.  
  592. This program may be freely copied and distributed provided
  593.  
  594. 1) that no fee is charged for such copying and distribution
  595. (excepting those clubs which provide bundled ShareWare and
  596. charge only a token amount for diskette costs) and
  597.  
  598. 2) that it is distributed ONLY in its original, unmodified
  599. state.
  600.  
  601. If you like this program, and find it of use, a contribution and
  602. registration would be appreciated.  If you are using this
  603. program in a commercial environment, registration is mandatory.
  604. Registered users may receive a diskette containing the latest
  605. version of PAMPHLET (C) if an update is available and is
  606. requested.  Registration is $25.00.  Please add $1.50 postage
  607. and handling if an update is requested. If the program has not
  608. been further updated, you will be so notified and your postage
  609. and handling fee refunded.  *i1 A registration form can be
  610. printed by using the F1 key at the information screen at the
  611. end of the program.*r
  612.  
  613. If you correspond with comments and/or questions please note
  614. which version you are using.
  615.  
  616. *f
  617. *t4h12w3
  618. Appendix A
  619.  
  620. PAMPHLET 3.0 Editor Notes:
  621. *r
  622.  
  623. Pamphlet Version 3.0 is distinguished from previous versions by
  624. the addition of a built in editor. It uses the BINED.TPU package
  625. distributed by BORLAND INT. Commands are a subset of those used
  626. in WordStar. For anyone familiar with WordStar, or Borland's
  627. products (ie SideKick (C)), there should be no problem in
  628. utilizing the editor as is. For those of you who use other word
  629. processors, you may use the PAMPHINS program to customize the
  630. keystroke combinations to your preference. This is an editor and
  631. not a word processor. It does not include the ability to reformat
  632. paragraphs or justify margins automatically. It can be very
  633. useful in reviewing and making changes in TEXT files before
  634. printing them with PAMPHLET. If you do not have a word processing
  635. package capable of producing TEXT files, you can certainly use
  636. the editor to create your documents -- it is MUCH easier to use
  637. than EDLIN.
  638.  
  639. *u1 Pamphlet's Editor will work only on files less than 64K in
  640. length.*u0   This is a minor limitation for most pamphlet sized
  641. text files. If you are working with larger files, you will have
  642. to use your word processor.
  643.  
  644. Lastly, if you do not have a word processor, MicroStar (C) a word
  645. processor included in Borland's Pascal Editor ToolBox (R) is very
  646. capable of producing nice TEXT documents. It is very inexpensive
  647. compared to some other packages.
  648.  
  649. *f
  650.  
  651. *t0s0p17m                     EDITOR COMMAND SUMMARY
  652. ==================================================================
  653. FUNCTION                       KEYSTROKES  (^ = Ctrl Key)
  654. __________________________________________________________________
  655. Character Left                 ^S or Left Arrow
  656. Character Right                ^D or Right Arrow
  657. Word Left                      ^A or ^Left Arrow
  658. Word Right                     ^F or ^Right Arrow
  659. Line Up                        ^E or Up Arrow
  660. Line Down                      ^X or Down Arrow
  661. Scroll Up                      ^W
  662. Scroll Down                    ^Z
  663. Page Up                        ^R or PgUp
  664. Page Down                      ^C or PgDn
  665. Beginning of File              ^QR or ^PgUp
  666. Beginning of Line              ^QS or Home
  667. End of Line                    ^QD or End
  668. Top of Screen                  ^QE or ^Home
  669. Bottom of Screen               ^QX or ^End
  670. Top of Block                   ^QB
  671. Bottom of Block                ^QK
  672. Jump to Marker 0..3            ^Q0..^Q3
  673. Set Marker 0..3                ^K0..^K3
  674. Previous Cursor Position       ^QP
  675. New Line                       ^M (and Enter if insert mode)
  676. Insert Line                    ^N
  677. Insert Control Character       ^P(^character to be inserted)
  678. Tab                            ^I or Tab
  679. Delete Current Character       ^G or Del
  680. Delete Character Left          ^H or backspace
  681. Delete Word                    ^T
  682. Delete to End of Line          ^Y
  683. Find                           ^QF
  684. Find and Replace               ^QA
  685. Find Next                      ^L
  686. Begin Block                    F7 or ^KB
  687. End Block                      F8 of ^KK
  688. Copy Block                     ^KC
  689. Move Block                     ^KV
  690. Delete Block                   ^KY
  691. Hide Block markers             ^KH
  692. Mark Current Word as Block     ^KT
  693. Read Block from File           ^KR
  694. Write Block to File            ^KW
  695. Print Block (standard print)   ^KP
  696. Toggle Insert Mode             Ins or ^V
  697. *f
  698.                    EDITOR COMMAND SUMMARY (Cont.)
  699. ==================================================================
  700. FUNCTION                       KEYSTROKES  (^ = Ctrl Key)
  701. __________________________________________________________________
  702. Toggle Autoindent Mode         ^OI
  703. Toggle Fixed Tabs              ^OT
  704. Restore Line                   ^QL
  705. Exit Editor                    ^KD or F10
  706. Abandon Editor Without update  ^F10
  707. Update and Remain in editor    Alt-F10
  708.  
  709. Modify Line length (window)    ^L
  710.  
  711. *t4h10w0s1m
  712. ^L will allow you to change the window width to more easily
  713. determine the line length that will print properly with
  714. PAMPHLET. The key combination Alt-F10 will save your file, and
  715. remain in the editor at your current position. It is used for
  716. making backup copies while you are editing. All key combi-
  717. nations that save your file also create second backup called
  718. <filename>.BAK from your previously saved file. Therefore you
  719. always have two relatively current copies.
  720.  
  721. *t4h12w3
  722. Appendix B -- Use of A4 Paper
  723. *r
  724. Read  the file  named A4.DOC.    This  file may  be modified  and
  725. renamed to A4.DAT to reconfigure the program output for A4 paper.
  726. The first 4 lines of the file are initially:
  727.  
  728. 3800 7340
  729. 5 85
  730. 91 171
  731. 7.0
  732.  
  733. They are the only ones used by  the program.  The above 7 numbers
  734. are  the only  ones needed  by the  program to determine pamphlet
  735. page  and center  line positioning.  You may  modify them but the
  736. format MUST be as above.  Lines  1,2 and 3 MUST contain 2 integer
  737. numbers  (ie no  decimal point)  which are  separated by a space.
  738. Line 4  contains but one number  which may or not  have a decimal
  739. point.
  740.  
  741. To use the file, rename it to A4.DAT or create a file of at
  742. least the above 4 mandatory lines and name it A4.DAT. The program
  743. will look for a file named A4.DAT on initialization. It will look
  744. first on the default directory  (the directory where you are when
  745. you run the program) and then in the directory you have setup and
  746. saved as a font directory location (screen 2).  If not found, the
  747. program will use the default values noted.
  748.  
  749.  
  750. The first line --
  751.  
  752.   first number  -- Default 3800
  753.                 horizontal point location of the center line.
  754.                 Higher numbers move the line to the right.  A4
  755.                 paper should require around 4050.
  756.  
  757.   second number -- Default 7340
  758.                 length of the center line in points.  A4 paper
  759.                 may require a smaller number.
  760.  
  761. The second line -- Default 5 85
  762.                 Left (5) and Right (85) margin definitions of the
  763.                 left side pamphlet page.  The numbers represent
  764.                 lineprinter sized characters (16.66 cpi).  The
  765.                 difference between margins should be 80
  766.                 characters.  A4 paper may require adding
  767.                 approximately 3 to each of these numbers.
  768.  
  769. The third line -- Default 91 171
  770.                 Left (91) and Right (171) margin definitions of
  771.                 the right side pamphlet page.  The numbers
  772.                 represent lineprinter sized characters (16.66
  773.                 cpi).  The difference between margins should be
  774.                 80 characters.  A4 paper may require adding
  775.                 approximately 7 to each of these numbers.
  776.  
  777. The fourth line  -- Default 7.4
  778.                 Printable page length in inches (remember we are
  779.                 in landscape mode).  A top margin of approx 1/2
  780.                 inch is automatically generated by the program.
  781.                 Adjust this number for an appropriate bottom
  782.                 margin.  A4 paper should be around 7.1 or 7.2.
  783.                 The pamphlet program is able to print 2 pages
  784.                 side by side by "fooling the printer" and not
  785.                 printing beyond the printer's physical bottom
  786.                 line before resetting the margin and printing the
  787.                 other side.  If you set this number too large,
  788.                 the printer will eject the paper before printing
  789.                 of the right side pamphlet page is complete.
  790.